<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
    <title>TileLayer.Flexible.Amap</title>
    <style>
      
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      html,
      body,
      #map-container {
        width: 100%;
        height: 100%;
      }

      #map-container {
        position: relative;
      }
      .btn {
        bottom: 0;
        position: absolute;
        z-index: 9999999;
        pointer-events: none;
      }
      /* .amap-label-content {
        font-size: 13px;
      } */
    </style>
  </head>
  <body>
    <div id="map-container">
      <button class="btn">点击</button>
    </div>

    <script type="text/javascript">
      window._AMapSecurityConfig = {
        securityJsCode: '85f43f06bfe87005840ec7d09fdbda38',
      };
    </script>
    <script src="https://webapi.amap.com/loader.js"></script>
    <script src="//webapi.amap.com/maps?v=2.0&key=498463ad2ef2bf394c87701fae5a973c"></script>
    <script src="./amap/coordtransform.js"></script>
    <script type="module" src="./amap/gridMap.js"></script>
    <!-- <script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"></script> -->
  </body>
</html>
